
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="/newstype/dosave" method="post">
类别名称：<input type="text" name="typeName" /><br/>
父类别：<select name="parentId">
    <option value="0">==顶级类别==</option>
    <c:forEach items="${plist}" var="it">
        <option value="${it.id}">${it.typeName}</option>
    </c:forEach>
</select><br/>
<input type="submit" value="提交">

</form>
</body>
</html>
